package com.xdap.fsapproval.service;

import com.xdap.common.pojo.dto.DataResponse;
import com.xdap.common.pojo.dto.webhook.WebhookProcessDto;

/**
 * @BelongsProject: com.adisseo.service.approval.service
 * @Author: liuyang
 * @CreateTime: 2022/9/5 15:29
 * @Description:
 * @Version: 1.0
 */
public interface SendApprovalSertvice {
    /**
     * 飞书集成apaas审批数据之webhook开发
     * @param webhookProcessDto
     * @return
     */
    DataResponse sendApproval(WebhookProcessDto webhookProcessDto);


    /**
     * 补偿机制重新推送webhook
     * @param documentId
     * @return
     */
    DataResponse compensateSend(String documentId);
}
